package com.example.service;

import com.example.mapper.SysRoleMapper;
import com.example.pojo.SysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: ChenZhiXiang
 * @Date: 2019/8/30 11:37
 * @Description:
 */
@Service
public class SysRoleService {

    @Autowired
    private SysRoleMapper roleMapper;

    public SysRole selectById(Integer id){
        return roleMapper.selectById(id);
    }
}
